<template>
  <div>
    <OjContainer :showLeftAside="false" :showRightAside="true">
      <template v-slot:right-aside>
        <div>
          <p>limou 个人卡片</p>
        </div>
      </template>
      <template v-slot:main>
        <div>
          <el-carousel :interval="4000" height="200px" type="card">
            <el-carousel-item v-for="item in 6" :key="item">
              <h3 class="medium">{{ item }}</h3>
            </el-carousel-item>
          </el-carousel>
        </div>
        <div>
            <el-timeline>
              <el-timeline-item placement="top" timestamp="2018/4/12">
                <el-card>
                  <h4>更新 Github 模板</h4>
                  <p>王小虎 提交于 2018/4/12 20:46</p>
                </el-card>
              </el-timeline-item>
              <el-timeline-item placement="top" timestamp="2018/4/3">
                <el-card>
                  <h4>更新 Github 模板</h4>
                  <p>王小虎 提交于 2018/4/3 20:46</p>
                </el-card>
              </el-timeline-item>
            </el-timeline>
        </div>
      </template>
    </OjContainer>
  </div>
</template>

<script>
import OjContainer from '@/components/OjContainer.vue';
export default {
  components: {
    OjContainer
  },
  data() {
    return {
    }
  }
}
</script>

<style scoped>
/* 滑动走马灯 */
.el-carousel__item h3 {
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
  background-color: #d3dce6;
}
</style>